FIX: to_sql dtype argument accepting SQLAlchemy type instance (GH9083)

Closes #9083