[PATCH 5.12 287/384] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe