x86/amd-iommu: Fix possible integer overflow