This does not change behavior. It is in preparation for
special handling of the case where VerifyDB doesn't finish
for various reasons, but doesn't fail.
This is a backport of core#25574
https://github.com/bitcoin/bitcoin/pull/25574/commits/6360b5302d2675788de5c4a28ea77d823f6d809e
Depends on D14925