[libvirt] [PATCH] Fix potential crash in QEMU monitor JSON impl