[PATCH 5.10 124/129] tty: n_gsm: fix wrong command retry handling