Remove unused `max_position_embeddings ` in config classes
# What does this PR do?

Similar to #20596 and #20554, but here we removed unused `max_position_embeddings`.
_The documentation is not available anymore as the PR was closed or merged._