[PATCH 4.14 52/78] tty: n_gsm: fix incorrect UA handling