Fix HeapChecker to work with protected memory pages.

BUG=
R=sebmarchand@chromium.org

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