unicode: Handle memory allocation failures in mkutf8data

Adding and using a helper function "xmalloc()"
to handle memory allocation failures.

Signed-off-by: jianchunfu <jianchunfu@cmss.chinamobile.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
1 file changed