CVE-2026-23217 riscv: trace: fix snapshot deadlock with sbi ecall