[PATCH 6.12 041/164] iommu: Fix two issues in iommu_copy_struct_from_user()