Fix attention mask size checking for CLIP
# What does this PR do?

Fix a small error in attention mask size checking of CLIP.


## Before submitting

- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request section?


## Who can review?

@patil-suraj