fixes #5288
* C++: Generate MiniReflectTypeTable for Structs as well as Tables * Update generated code * add test