[PATCH 6.15 102/263] LoongArch: KVM: Check validity of "num_cpu" from user space