[PATCH 5.15 596/779] tty: n_gsm: fix wrong T1 retry count handling