[PATCH openEuler-5.10-LTS 119/121] tty: n_gsm: fix incorrect UA handling