[PATCH openEuler-5.10 221/236] tty: Fix data race between tiocsti() and flush_to_ldisc()