[PATCH 6.1 173/200] iommu: Attach device group to old domain in error path