Implement const qualifier for read only fields in C/C++ export

As a user I want C/C++ exported source code to reflect the read only status of fields.