Fixed an incorrect revert on db/db_impl_readonly.cc

Summary:
Fixed an incorrect revert on db/db_impl_readonly.cc