[PATCH 5.15 530/731] iommu/sun50i: Fix R/W permission check