[PATCH 4/7] qemu: Fix resource leak and coding error in qemuDomainGetIOThreadsMon