x86_64: Move ioapic function declarations from smp.h to apic/ioapic.h