[MIPS] Make sure exception is raised on TLBRET_DIRTY

Generating exception on a dirty TLB entry is regular and matches
upstream QEMU behaviour, it forces update of that TLB entry.
Otherwise it could lead to getting suck in a livelock scenario
constantly requesting a translation and never getting it.

Issue was reproduced on a Darwin host where kernel
boot loops infinitely on "Freeing unused kernel memory".
It was actually trying to write to a page in memory
for the first time (case when dirty bit is still unset),
and it is necessary to run "TLB modify" handler to
set the dirty bit and return the requested translation.

Change-Id: Ia6a129cb1198ce5679b48d35025884249f93efb6
1 file changed