tty: n_gsm: fix race condition in status line change on dead connections (CVE-2023-52872) | HOL Guard CVE