[PATCH 5.10 394/545] tty: n_gsm: fix wrong T1 retry count handling