[aws|put_object] do not check user meta data encoding for ruby-1.8.7

- There is no `Encoding` module in `ruby-1.8.7`
- `fog v2` will drop support for `ruby-1.8.7`
- Simply revert this commit once support for `ruby-1.8.7`is dropped