[PATCH OLK-6.6 2/2] iommu/arm-smmu-v3: Fix the problematic platform detection logic