api_generator:cpp: fix property setters