handy.h: Make macro more efficient on EBCDIC

The comments say it all
regen/unicode_constants.pl: Rearrange code order

This just changes the ordering so we don't do UTF-8 calculations unless
needed.
regen/unicode_constants.pl: White-space only

Indent code in block formed by the previous commit