Add missing cs_main lock to VerifyDB

Fixes issue #4139.