[libvirt PATCH v4 13/19] tests: Add macOS support to qemuxml2*test