make-version: only touch gitversion.h when necessary.

This will get rid of unnecessary rebuilds everytime "make" is called.