target/riscv: Support setting external interrupt by KVM