[PATCH 5.15 589/779] tty: n_gsm: fix race condition in gsmld_write()