Use CPUID intrinsics instead of inline assembly. This fixes compatibility issues with -fPIC.