[PATCH v2] qemu_monitor_json.c: use g_autofree