[PATCH v6 3/3] riscv: selftests: Add a ptrace test to verify a0 and orig_a0 access