x86, apic: separate 32-bit setup functionality out of apic_32.c