riscv: drop some idefs from CMO initialization