[PATCH 4.19 154/287] tty: n_gsm: fix race condition in gsmld_write()