[PATCH 5.15 171/177] tty: n_gsm: fix incorrect UA handling