Makefile: link sqlite3 when using gccgo
Makefile: handle gtk-thumb-tool separately when using gccgo

Change-Id: If29dc8d45d1ca30462acdbee95d2a0c3798dfdc6