[PATCH 4.19 091/213] dmaengine: idma64: Add check for dma_set_max_seg_size