[libvirt] [PATCH v3 20/28] qemu: Make virQEMUCapsInitCPUModel testable