[PATCH 6.1 08/85] riscv: signal: handle syscall restart before get_signal