Use CLIP model config to set some kwargs for components
# What does this PR do?

In `CLIPModel`, set `output_attentions` and `output_hidden_states` using `CLIPModel.config` if these values are specified in the configuration + not specified in the arguments.

(currently, these operations are done in its vision & text components separately, and cause a WIP CLIP PT/TF equivalence test failing - #16557)

## Details

Currently, `CLIPModel` uses its 2 components' (`vision_model` and `text_model`) configurations to perform things like

(here self is `CLIPVisionTransformer` or `CLIPTextTransformer`)
```python
output_attentions = output_attentions if output_attentions is not None else self.config.output_attentions
```

If `output_attentions`/`output_hidden_states` are not passed to `CLIPModel.forward` at this line

https://github.com/huggingface/transformers/blob/9fd5e6bbe605941b707b0e1aa223a5c51c183550/src/transformers/models/clip/modeling_clip.py#L966-L967

but `CLIPModel.config` has these values set, `CLIPModel.config.output_attentions` and `CLIPModel.config.output_hidden_states` won't have any effect. This case happens here
https://github.com/huggingface/transformers/blob/9fd5e6bbe605941b707b0e1aa223a5c51c183550/tests/test_modeling_tf_common.py#L544-L547

Therefore, **CLIP PT/TF equivalence test won't returns hidden_states/attentions for the PT model.**

In TF, 

https://github.com/huggingface/transformers/blob/b33ab4eb59f3baa0108d494695bc09b4688960a7/src/transformers/modeling_tf_utils.py#L393

will use `config` to set the kwargs at the `CLIPModel` level. These kwargs are passed to the 2 components, and **CLIP PT/TF equivalence test  returns hidden_states/attentions for the TF model.**

_The documentation is not available anymore as the PR was closed or merged._<|||||>cc @gante (just for information) since he is recently working on `unpack_inputs` & `input_processing` in TF