cppgen: make 'processRole' always be generated with const ref

This allows rsfull.k3 to be generated without optimizations.