[configure] make sure abs_top_srcdir is always defined
Merge pull request #4203 from wsnipex/gitrev-fix

[configure] make sure abs_top_srcdir is always defined