mce, amd: Add helper functions to setup APIC