Fixed a wrong conditions in riscvdumpregs function. It caused a seg fault when SF_UNCERTAIN_UPE was 0.
Fixed a wrong conditions in riscvdumpregs function. It caused a seg fault when SF_UNCERTAIN_UPE was 0.

gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator,gemusehaken/sunflower-simulator