amd iommu: remove unused function
(cherry picked from commit 58d1fdfaa90a5365a5f951e2ac80e0fce02ca9bb)