[PATCH v2 20/27] riscv/traps: Introduce software check exception