[PATCH openEuler-5.10-LTS 118/121] tty: n_gsm: fix reset fifo race condition