[PATCH 5.19 0943/1157] tty: n_gsm: fix wrong T1 retry count handling