git-interdiff: use the GIT_DIR variable instead of guessing at it

This allows it to work in bare repositories too.