[MIPS] Refactor page table walk

The Linux page table need to be accessed to implement
cpu_get_phys_page_debug() and to accelerate TLB miss handling.
This patch centralises and simplifies the page table walk code.

Change-Id: I05390f79cd9c170dc4fc175ffcf13d2bee197687
2 files changed