[OPT] Fix default attention mask size
# What does this PR do?
Fixes #21685, should also help in adding the ONNX configuration in #17771 
_The documentation is not available anymore as the PR was closed or merged._<|||||>I'm gonna add a test before merging 