[PATCH openEuler-5.10 118/120] tty: n_gsm: fix incorrect UA handling