n_tty: Move n_tty_write_wakeup() to avoid forward declaration