[clang-tidy][NFC] Fix buffer overflow in modernize-use-designated-initializers

Instance of DenseMap were copied into local variable,
and as a result reference to string stored in that local
variable were returned from function. At the end fix-it
were applied with already destroyed string causing some
non utf-8 characters to be printed.

Related to #80541

GitOrigin-RevId: 21be2fbd17f9ff6f3f04e0ababc91c9cdd5aed85
1 file changed