Delegate `#type_cast` to injected type objects on SQLite3
Merge pull request #15197 from sgrif/sg-delegate-type-cast-sqlite3

Delegate `#type_cast` to injected type objects on SQLite3