[PATCH 5.4 48/53] tty: n_gsm: fix proper link termination after failed open