Exploring Task Unification in Graph Representation Learning via Generative Approach