The beer is 100% not ruined, don't dump it.
You won't lose bitterness, so that's not a worry. At five minutes left in the boil you're going for aroma with a little flavor. You could leave it as is or even dry hop it in about a week. You could even boil the hops in a little water for 5 minutes and add that to your fermenter, but if it were me, I'd let it sit and taste it after a week or 10 days. If you feel you would like it to smell a little bit more like what those hops smell like, dump em in - if the beer seems good without, leave it.