Fix torch version check in Vilt
# What does this PR do?

This line fails when torch < 1.10.0
https://github.com/huggingface/transformers/blob/1fc4b2a13223b9069f9969344117a2994261939c/src/transformers/models/vilt/modeling_vilt.py#L44

In  this case, `torch.__version__` is of type `str` instead of `torch.torch_version.TorchVersion` and can't compare to a tuple.

This leads to strange error message when other models being tested, for example (the use of `get_values` below)

```
    def test_training(self):
        for model_class in self.all_model_classes:
            ....
            if model_class in get_values(MODEL_MAPPING):
                continue
```
cc @LysandreJik: This is *one* of the reasons why there are more failures in PyTorch past CI.<|||||>_The documentation is not available anymore as the PR was closed or merged._<|||||>Oops, you approved before I tag 😄 