linelog: add replacelines_vec for fastannotate
# no-check-commit because we're conforming to an existing interface
Differential Revision: https://phab.mercurial-scm.org/D3993
#require docutils gettext $ $TESTDIR/check-gendoc sv checking for parse errors