WIP: main/sqlite: upgrade to 3.31.0
Ref https://sqlite.org/releaselog/3_31_0.html
Probably needs BC flag https://sqlite.org/compile.html#trusted_schema and check ABI
Ref https://sqlite.org/releaselog/3_31_0.html
Probably needs BC flag https://sqlite.org/compile.html#trusted_schema and check ABI