[GIT] Fix training
# What does this PR do?

This PR ensures that GIT can be properly fine-tuned. As GIT is a causal, GPT-like model that is also conditioned on CLIP-embedded image patches, one needs to only compute a loss on the predicted text tokens.
_The documentation is not available anymore as the PR was closed or merged._<|||||>Thanks, fixed now!