(maint) Add Git SHA1 for HEAD to the version output.

Adding a define in version.h for the current HEAD SHA1.
This allows us to output it for `cfacter --version`.