x86/cpu: implement support for cpuid through intrinsics