Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h

Summary:
Fixed the shadowing in db/compaction.cc and include/rocksdb/db.h

Test Plan:
make