style(tracegrind): apply clang-format and add pre-commit hook
Add .pre-commit-config.yaml with clang-format scoped to tracegrind/ only.
Reformat all tracegrind source files to match the repo's .clang-format style.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>