[PATCH openEuler-5.10 69/73] tty: n_gsm: fix NULL pointer access due to DLCI release