test scripts: add cachegrind to list of tools with export headers