Fix for credit overflow

Placed limit on maximum number of credits equal to the maximum value of
a short int. For some reason, the shop display only gets up to a short
int of the character's true credit count.
All credit additions/subtractions should call the new function defined
in jkg_utilityfunc.