Use `ActiveRecord::Tasks::DatabaseTasks.structure_dump` instead of `ActiveRecord::Base.connection.structure_dump`, fixes `ar:structure:dump`

`ActiveRecord::Base.connection.structure_dump` is dead. https://github.com/rails/rails/commit/a8bc72effb4dbab5803f4872f61c9707bc02e22d