TF AdamWeightDecay fix for 2.11
The TF changelog said that the optimizer had been moved to `tf.keras.optimizer.legacy`, but the true path is `tf.keras.optimizers.legacy`. Because of the conditional in the PR, we didn't notice the error, but it's resolved now!

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