[PATCH 5.17 007/772] riscv: Fix irq_work when SMP is disabled