iommu/amd: Add IOAPIC remapping routines