[PATCH stable v6.6] riscv: kprobes: Fix wrong lengths passed to patch_text_nosync()