Fix issue 4349, truncated keyword re-expansion.

* subversion/libsvn_subr/subst.c
  (translate_keyword_subst): Take account of keyword length.

* subversion/tests/libsvn_subr/subst_translate-test.c
  (test_funcs): Mark test_svn_subst_truncated_keywords PASS.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1467230 13f79535-47bb-0310-9956-ffa450edef68