Remove unused valgrind detection
Having this just to log a debug message in case we're running inside valgrind doesn't seem very useful, and the code that used to use this no longer exists it seems.
Having this just to log a debug message in case we're running inside valgrind doesn't seem very useful, and the code that used to use this no longer exists it seems.