A parenthesis was missing! Valgrind detection was broken.

This inserts the missing parenthesis. I don't know why in the tests it worked.
Now I'm worried this could break bisecting.

Better late than never. Apologies.
Merge branch 'valgrind-fix'