[PATCH 6.6 290/396] swiotlb: Fix alignment checks when both allocation and DMA masks are present