dmaengine: fix missing 'cnt' in ?: in dmatest