Preserve type when dumping bit and bit varying columns

Commits -
  https://github.com/rails/rails/commit/fcd5e56b862ffea9a8c1cea0c622472c5346474b
  https://github.com/rails/rails/commit/d5411fb37ca9a35f49a55fd52d2aefb7956b3e41