(__gconv_transform_utf8_internal): Use only one copy of error handling code.