x86: don't call read_apic_id if !cpu_has_apic