Migrate ext/odbc resources to opaque objects (#12040) Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>