target/riscv/cpu: set cpu->cfg in register_cpu_props()