[libvirt] [PATCH 3/6] qemu: Refactor qemuDomainAttachChrDevice error paths