CVE-2025-38261 riscv: save the SR_SUM status over switches