Fix bug in intmaxToCommaString/uintmaxToCommaString.

An integer with 'n' digits such that 'n % 3 == 0' would be converted
to a string with no commas.