chan_dahdi: Address gcc9 issues