[PATCH 4.19 110/293] tty: Fix data race between tiocsti() and flush_to_ldisc()