[PATCH v3 2/2] riscv: selftests: Add a ptrace test to verify syscall parameter modification