[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209)