Use the comparator from the sst file table properties in sst_dump_tool (#9491)
Summary:
We introduced a new Comparator for timestamp in user keys. In the sst_dump_tool by default we use BytewiseComparator to read sst files. This change allows us to read comparator_name from table properties in meta data block and use it to read.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9491
Test Plan:
added unittests for new functionality.
make check


Reviewed By: riversand963
Differential Revision: D33993614
Pulled By: satyajanga
fbshipit-source-id: 4b5cf938e6d2cb3931d763bef5baccc900b8c536