[PATCH 5.10 143/317] dmaengine: idma64: Add check for dma_set_max_seg_size