[PATCH 4.19 157/287] tty: n_gsm: fix wrong T1 retry count handling