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

This reverts commit 3c5dbd2c74266cac50d2e75dd2859865364a134b.