gencgc: Introduce a new predicate, page_ends_contiguous_block_p().