Possible fix for Kozea/WeasyPrint#104: Take g_error_free from glib rather than gobject.