Does it even have a rectifier? Headlights are not specific, they don't care if the current is alternating or not. If there's no battery or DC accessories it might not have a rectifier at all.
If the gizmo can accept AC then it might be that all you need is a TVS. Alternators are very noisy and the spikes can be pretty substantial and the bike is blowing out the rectifier inside the power supply. Things like this are often cumulative, so it'll work for a while but after some period, say 50 or 100 hours, the 1ms long 200V spikes just wear out parts to failure.
I would just hit Radio Shack, a couple of diodes and a couple of caps potted into epoxy is going be cheap.
"Why does the U.S. care which flag will be hoisted on a small piece of land thousands of miles away?" -- Ron Paul