Combine BerkeleyEnvironment::Verify into BerkeleyDatabase::Verify
Summary:
This is a backport of core#19335 [1/5]
https://github.com/bitcoin/bitcoin/pull/19335/commits/65fb8807ac402d1e924fd85969b5837c192bf59f
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, majcosta
Reviewed By: #bitcoin_abc, majcosta
Differential Revision: https://reviews.bitcoinabc.org/D10034