KVM: Refactor and simplify kvm_dev_ioctl_get_supported_cpuid