[libvirt PATCH v5 14/20] tests: Add macOS support to qemuxml2*test