target/riscv: use struct riscv_info instead of typedef riscv_info_t