[PATCH v8 17/29] riscv/traps: Introduce software check exception