[PATCH 5.15 007/667] riscv: Fix irq_work when SMP is disabled