use ammo from active gunmod, not from gun itself

fixes #5803

I guess that instance of `weapon.curammo` had been overlooked.