ensure new_zone_lock is released after count_newzones()

Evan Hunt requested to merge each-lmdb-lock-fix-v9_16 into v9_16
Edited by Michał Kępień

Merge request reports