Bug in SoftwareSerial when using inverse logic

Fix for reported bug https://github.com/arduino/Arduino/issues/1361

For more further description of the bug, see http://forum.arduino.cc/index.php?topic=159726