drivers: tty: tty_ioctl: fix timeout calculation in tty_wait_until_sent().