avoid infinite loop in MallocExtension::instance under valgrind See https://github.com/gperftools/gperftools/issues/1615 and referenced valgrind ticket for the discussion.