[PATCH 6.6 085/267] tty: n_tty: Fix buffer offsets when lookahead is used