[PATCH 5.4 132/144] tty: Fix data race between tiocsti() and flush_to_ldisc()