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

This reverts commit 9656cd714b3260fff2031596a24cfa7aed240843.