[libvirt] [PATCH 02/16] qemu: Refactor error paths in virQEMUDriverCreateCapabilities