(RISCV) Convert the old networks to the new format.