GValueArray is deprecated in glib. Also, bump the required glib version for g_array_set_clear_func().