x86, perf events: Check if we have APIC enabled