[PATCH v6 21/33] riscv/traps: Introduce software check exception