GraspGPT: Leveraging Semantic Knowledge from a Large Language Model for Task-Oriented Grasping