Stack unwinding robustness fixes for RISC-V.
- Push the kstack_contains check down into unwind_frame() so that it is honored by DDB and DTrace.
- Check that the trapframe for an exception frame is contained in the traced thread's kernel stack for DDB traces.
Reviewed by: markj
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27357