uart: fix compile error in test bench