[PATCH 5.17 016/140] iommu/vt-d: Calculate mask for non-aligned flushes