Add g_utf8_substring function for compiling with GLIB < 2.30.