iommu/arm-smmu: fix architecture version detection