sqlite: Log sqlite3_close() failures via g_warning()

since they indicate a resource leak in the library.
sqlite: Add some disabled profiling code
sakura: Avoid spurious uninitialized variable warning
test: Add Mirax PNG and BMP test cases
test/driver: Disable gvfs when running tests

gvfs wants to connect to D-Bus, leading to fd leak warnings when GFile
is used.