configure: Fix warning when git could not be found
configure: Fix warning when git could not be found

The test should actually check that git describe --dirty works as well,
since --dirty was added in 1.6.5, and using an older version will result
in a lot of output while compiling and no actual version string being
generated.

Tilka/ncdc,Tilka/ncdc