[PATCH v4 4/6] LoongArch: KVM: Check validation of num_cpu from user space