[PATCH 4.9 42/66] tty: n_gsm: fix incorrect UA handling