Handle gcc version 5.x.y.

Recognize the future versions of gcc will be called 5.x.y.
Ignore line directives in glibc version configure test (newer
gcc/cpp will mark system macros with an extra line comment).

Patch from  Dmitry Djachenko (dimhen@gmail.com). Fixes #338932.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14507 a5019735-40e9-0310-863c-91ae7b9d1cf9
Bug 338974 glibc 2.20 changed size of struct sigaction sa_flags on s390

To track POSIX glibc and the kernel agreed to change the type of the
sa_flags field in struct sigaction to an int. There is now a int
__glibc_reserved0 padding field that can be passed undefined.
See https://sourceware.org/ml/libc-alpha/2014-09/msg00161.html

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14508 a5019735-40e9-0310-863c-91ae7b9d1cf9