Implement error checking/clearing for RealView_getc

Implemented error detection/correction for RealView_getc. This resolves the odd behavior and eliminates the need for the timeout while waiting for the "receive fifo empty" bit to be set.