Generate-on-Graph: Treat LLM as both Agent and KG in Incomplete Knowledge Graph Question Answering