target/riscv: Simplify helper_sret() a little bit