[libvirt] [PATCH 4/6] test: Fix resource leak in qemumonitorjsontest