Lints: fix violations of go/lint-dart-unnecessary-lambdas in intl generated code.
Lints: fix violations of go/lint-dart-unnecessary-lambdas in intl generated code.

PiperOrigin-RevId: 247215921

dart-lang/intl_translation,dart-lang/intl_translation