[PATCH 5.0 077/117] riscv: Fix syscall_get_arguments() and syscall_set_arguments()