mm/memblock: reduce overhead in binary search