mmu: VMA search optimizations

Like commit b17819d ("mmu: optimize searching for vmas") but for rest of
core/mmu.cc.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>