Expose function to determine if database is read-only
The original SQLite has a function to determine if a database is read-only:
https://sqlite.org/c3ref/db_readonly.html
It seems like this Go port has the concept of read-only databases, but no corresponding function to determine it from Go program.