fix the cpp header generator to not include an extra patch of base set methods for the fields of immutable structures