Fix non-portable type conversion in _sqlite3_changes and
_sqlite3_last_insert_rowid.