fsldma: fix check on potential fdev->chan[] overflow