[eglib] Fixed g_utf8_to_utf16_general() to handle invalid utf8