valgrind: Fix running under grsecurity

**Note:** this causes a fair number of rebuilds