TTY: add tty_port_tty_hangup helper