GKG-LLM: A Unified Framework for Generalized Knowledge Graph Construction