Suppress some valgrind leak warnings
There is more work to be done here, but this is a good step towards making valgrind's --leak-check=full
usable for glib programs. Thanks to Philip Withnall for suggesting these solutions. I think this constitutes abuse of VALGRIND_MALLOCLIKE_BLOCK(), but it works.