[PATCH V2 3/3] rseq/selftests: Add support for riscv