Add a global lock to the HeapChecker.

This is the first of several CLs that will narrow crash handling race conditions as much as possible.

BUG=
R=sebmarchand@chromium.org

Review URL: https://codereview.appspot.com/141680043