cmd/pkg-diff-example: support use as an external git diff tool
cmd/pkg-diff-example: support use as an external git diff tool

this makes it easier to quickly use it on real world diffs.

sample usage:

$ GIT_EXTERNAL_DIFF="`which pkg-diff-example` -color" git diff
pkg/diff