x86: Detect use of extended APIC ID for AMD CPUs