[C++] The generator no longer adds trailing semicolon for member functions

The C++99 generator added semicolons after functions/member functions. This patch fixes this.