for risc-v, don't store irq mask in trapframe