[PATCH 5.15 453/913] iommu/ipmmu-vmsa: Check for error num after setting mask