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

This reverts commit 0b8cbf532f34fd15a16a063967ce0f64f8c87137.

Change-Id: I322b4a6b35c6dc9b712f7e60d785b002eebf11e5