Add missing LOCK(cs_main)
Merge pull request #4204

305ccaa Add missing LOCK(cs_main) (Pieter Wuille)