riscv32: add setjmp/longjmp and sigreturn