target-i386: Move APIC ID compatibility code to pc.c