Run clang-format on the stage if clang-format is new enough
This is a follow-up to !386 (merged).
git-clang-format supports the --staged option since clang-format 14. Use the option only if the major version of clang-format is >= 14.
Tested with clang-format 16. Please test with other versions, in particular with clang-format <= 13.