[openEuler-5.10 367/496] tty: n_gsm: fix wrong T1 retry count handling