altera-9250/dma: make id width generic