CVE-2024-50073 tty: n_gsm: Fix use-after-free in gsm_cleanup_mux