[NFC] Fix CodeQL violations in compiler-rt. (#157793)

This pull request addresses fixes against violations happening under
subcategory 'cpp/wrong-type-format-argument' related to
dfsan,fuzzer,hwasan.

NOKEYCHECK=True
GitOrigin-RevId: b44e6e01f7f778bbb569e07821f5ddfdb90c4d4d
3 files changed