Update NFNet optim to reflect Haiku default of dict instead of FlatMapping.
Update NFNet optim to reflect Haiku default of dict instead of FlatMapping.

PiperOrigin-RevId: 418005668

deepmind/deepmind-research,deepmind/deepmind-research,deepmind/deepmind-research,deepmind/deepmind-research