chan_dahdi.c: Fix bounds check regression.