[clang] Don't crash when -Wformat-signedness specified (#162049)
Fixes https://github.com/llvm/llvm-project/issues/161075. This patch
follow the changes in https://github.com/llvm/llvm-project/pull/150962,
and fix a crash issue when `-Wformat-signedness` was specificed.