json-glib: add patch to fix the enum generation