A Survey on Graph Neural Networks and Graph Transformers in Computer Vision: A Task-Oriented Perspective