can't use realloc if running under valgrind, so disable realloc at runtime if memory location changes while shrinking
can't use realloc if running under valgrind, so disable realloc at runtime if memory location changes while shrinking

git-svn-id: 4e7379b20b57f8e3dde5a0b7363f233184647162@1875 4e380d45-d1fd-0310-85a7-d18ec86df0ad

sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp