[PATCH RFC v5 3/5] iommu/arm: apart arm-smmu.c to share code with other SMMUs