riscv: fix seccomp reject syscall code path