[PATCH 5.10 127/129] tty: n_gsm: fix incorrect UA handling