[PATCH 6.6 005/137] riscv: signal: handle syscall restart before get_signal