Error when group_by_length is used with an IterableDataset
# What does this PR do?

Since `group_by_length` is not supported for `IterableDataset`s, we should raise an error at the trainer init when we detect that arg is set and the training set is an `IterableDataset`.

Fixes #15418
_The documentation is not available anymore as the PR was closed or merged._