tty: tty_port: Add IO_ERROR bit handling