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