Fixing UART driver on AVR and BufferedUartStream on AVR after the lastest changes.