[PATCH 4.9 37/66] tty: n_gsm: fix malformed counter for out of frame data