serial: add some hysteresis on RTS handling

this adds 8 bytes of hysteresis on RTS handling. This is a workaround
for the way RTS works with STM32 on NuttX, which raises RTS on every
byte.