[RFC PATCH v1 21/28] riscv/traps: Introduce software check exception