[configure] make sure abs_top_srcdir is always defined

some autotools don't define abs_top_srcdir, which breaks GIT_REV
@vkosh ping