Update git diff mode extended header line
Update the git diff extended header line related to mode change to the more
modern version. According to
https://git-scm.com/docs/diff-format#_generating_patches_with_p, the old
versions are also supported, except deleted mode. CGit version 2.7.12 is
generating patch using the new version.