[PATCH 5.18 0871/1095] tty: n_gsm: fix wrong T1 retry count handling