dmaengine: imx-sdma: fix size check for sdma script_number