replace FIFO_OFFSET_xxx declarations with a cpp macro applied to channel number