Clean up unused variables from HardwareSerial.cpp

This pull request cleans up a couple of unused variables in `HardwareSerial.cpp` to improve clarity.