x86: fix apic.c build error on latest git