[PATCH 6.7 304/432] swiotlb: Fix alignment checks when both allocation and DMA masks are present