[PATCH 4.19 16/34] tty: n_gsm: fix proper link termination after failed open