Fix error in g_error_new_valist() in lib/glibcompat.c