Fix a bug in the page allocator.

BUG=
R=chrisha@chromium.org

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