[PATCH 5.19 0931/1157] tty: n_gsm: fix race condition in gsmld_write()