[libvirt] [PATCH v1 04/19] qemu: Refactor qemuIsSharedHostdev for readability/extendability