dmaengine: convert to idr_alloc()