Fix reloading a `SynthIDTextWatermarkingConfig` from `generation_config.json` (#51208)
* Fix SynthID watermarking config reload from generation_config.json
`GenerationConfig` converted any `watermarking_config` dict into a
`WatermarkingConfig`, so a saved `SynthIDTextWatermarkingConfig` failed to
load with `TypeError: unexpected keyword argument 'context_history_size'`.
Pick the class from the dict keys in both `__init__` and `update`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* drop the helper
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>