mincore: apply page table walker on do_mincore()

This patch makes do_mincore() use walk_page_vma(), which reduces the lines
of code by using common page table walk code.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>