tty: use the new 'flush_delayed_work()' helper to do ldisc flush