Bug in SoftwareSerial when using inverse logic

Fix for reported bug https://github.com/arduino/Arduino/issues/1361