Update HardwareSerial.cpp

https://github.com/energia/Energia/issues/225