Update to the latest version of SQLite (3.6.20rc1) and fix some
compiler warnings.