[PATCH 5.18 008/879] riscv: Fix irq_work when SMP is disabled