[tests] Improve forward_signature test
# What does this PR do?

The `test_forward_signature` test is currently being overridden in 25 model test files, because these models don't expect `input_ids`, but rather `pixel_values` (for vision models) or `input_values` (for speech models).

This PR instead leverages the `main_input_name` to update the test in `test_modeling_common.py`, `test_modeling_tf_common.py` and `test_modeling_flax_common.py`.
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15749). All of your documentation changes will be reflected on that endpoint.<|||||>With this approach we're losing coverage of some checks regarding `attention_mask`<|||||>@LysandreJik can you take a second look? I've improved it by including an additional attribute called `other_arg_names`.<|||||>LGTM! Thanks, can't wait to use it ;) <|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.