[libvirt] [PATCHv2 15/23] qemu: Clean up check of maximum cpu count supported by a machine type