Silence GCC warnings in CMake C++ standalone project with ROOT classes and dictionaries

I ended up removing the ROOT dictionary generation, which simplifies greatly the CMakeLists, using ClassDefInline as suggested by @pcanal.