iommu/amd: Fix logic to determine and checking max PASID