[clang-format] Handle spaces in filename paths in clang-format-diff.py (#135779)

This PR resolves an issue in clang-format-diff.py where
filenames containing spaces were not correctly extracted from Git diffs.
Due to the previous regex implementation, filenames were being
truncated, causing the script to fail when processing diffs with such
filenames.

Fixes #135619.

NOKEYCHECK=True
GitOrigin-RevId: 0c0b5abff7ebedde53ccb84a04dadb00b9b91f2b
1 file changed