[libvirt] [PATCH v2 3/3] qemu: agent: cleanup agent error flag correctly