gitapply.sh: Fix issue with parsing of delta type binary patches, some style improvements.
gitapply.sh: Use variables for awk scripts instead of inline code.