Add a redirection for the 'index' function.
Fixes BZ #327943


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14441 a5019735-40e9-0310-863c-91ae7b9d1cf9