leveldb: Minor cleanup in ports.
leveldb: Minor cleanup in ports.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=240619768

bitcoin-core/leveldb,bitcoin-core/leveldb,dwing4g/leveldb,cmumford/leveldb,fastogt/leveldb,likema/leveldb,google/leveldb,fastogt/leveldb,bitcoin-core/leveldb,dwing4g/leveldb,likema/leveldb,google/leveldb,matehat/leveldb,dwing4g/leveldb,cmumford/leveldb,matehat/leveldb,matehat/leveldb