Revert "n_tty: Fix n_tty_write crash when echoing in raw mode"

This reverts commit 402d4ff65a478155aca9bc52c85de3686d15855f.