Allow valgrind support to be completely disabled

Valgrind macros will still be enabled by default

https://bugzilla.gnome.org/show_bug.cgi?id=702648