[RISC-V] Fix hijack (#99809) (#449)