Convert Unicode/ucharmap.c from using galloc() to using malloc() instead.

These routines return NULL if they run out of memory. Did some alignments.