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.
'91 Toyota Pickup
'09 Kawasaki KLR650
'12 Gunnar Rockhound 29
“Anyone who believes in indefinite growth in anything physical, on a physically finite planet, is either mad or an economist.” -- Kenneth E. Boulding