Protect `TFGenerationMixin.seed_generator` so it's not created at import
With thanks to @atakey for pointing this out and suggesting a solution, credit for this one should go to him!

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