genlib/fifo/AsyncFIFO: fix data corruption bug