dmaengine: dmatest: add a maximum number of test iterations