[PATCH 5.10 386/545] tty: n_gsm: fix race condition in gsmld_write()