GXLogicCore expected concrete class as TGraph

Added ctor taking TGraph to enable using pre-existing graph and allow for using an interface for TGraph (parameterless ctor tries to instansiate TGraph which will cause an runtime error if an interface is used).

Old parameterless ctor chained to the new one and still using CreateInstance so it's a non-breaking change.