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