Log Git version in verbose logs.

Makes it much easier to figure out which builds users are running when
pasting logs.
Silence GIT_VERSION check.
Check for more headers during build.
Merge pull request #491 from libretro/git-version

Git version logging