Have you tried contacting the manufacturer?
They may have a replacement charger available & if not they may give you the details needed to source/make a replacement.
Or you could post a WTB message on a MTB forum.
If I remember my teachings from CPF university correctly I believe that AA alkaline batteries will not supply enough constant current to the light unless you use a very large amount.
You could use rechargeable AA's but then you would have to find out how much Volts & amps the light needs to run correctly.
Your best bet would be to try & get a replacement charger.
If the battery pack is shot I know of a
company (In NZ unfortunately) who will do battery pack repacking for a reasonable price. I have sent items (2 way radio battery packs) to them in the past & am more than satisfied with the end product as they not only repacked them they increased the run time from 8 hours to 11+ hours which made me happy.