Generate: FLAX uses `GenerationConfig` as the basis for `.generate()` parametrization
# What does this PR do?

Changes the FLAX side of `.generate()` such that it relies on the `GenerationConfig`. This is the FLAX equivalent of https://github.com/huggingface/transformers/pull/20388
_The documentation is not available anymore as the PR was closed or merged._