[PATCH 6.3 390/431] riscv: uprobes: Restore thread.bad_cause