i386: Move CPU ID and APIC ID maps from mp_machdep.c to lapic.c