[PATCH 6.11 157/245] riscv: Prevent a bad reference count on CPU nodes