build: fix clang-format-diff[.py] detection