This PR adds a check that Valgrind actually supports a host platform.
On master (49f608de474a89e5c742830c8ff5ac8978b5796a):
0$ ./autogen.sh &> /dev/null && ./configure -q --host=riscv64-linux-gnu 2>&1 | grep valgrind
1 valgrind = yes
With this PR:
0$ ./autogen.sh &> /dev/null && ./configure -q --host=riscv64-linux-gnu 2>&1 | grep valgrind
1 valgrind = no
Closes #1023.