riscv: mm: fix regression due to update_mmu_cache change