[C++]: removed base classes for generated classes. Updated SBE IR generated Java and C++ classes.