pc: Set APIC ID based on socket/core/thread ids if it's not been set yet