generate-renode-scripts: rework cpu type detection
generate-renode-scripts: rework cpu type detection

Parse `config_cpu_type_XXX` and `config_cpu_variant_XXX`
config elements instead of using `config_cpu_type` and
`config_cpu_variant` values as the latter
are no longer generated by the latest LiteX.

litex-hub/litex-renode