[libvirt] [PATCH] qemu_monitor_json: Properly check "return" type