x86, io_apic: Introduce set_affinity function pointer