[PATCH 6.7 698/713] riscv: Fix syscall wrapper for >word-size arguments