Update genericmindmapitem.cpp

adding constructor