Build UARTTest.cc with no warnings.

Change-Id: I1fc1df2b60434f8acb0ba9a5950d014da4147948