LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Models