test/driver: Disable G_SLICE=debug-blocks when valgrinding

debug-blocks keeps a list of freed slices, which causes valgrind to
think leaked memory is still referenced.
test: Add another GType leak suppression
leica: Fix minor leak on close
leica: Fix leaks in error paths