lib/sqlite3: adds fallback for sqlite3_errstr in case it is unsupported