[PATCH 4.9 13/18] iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system