fifo_reader: Bug fix in read_word