fixed extraction of the pure (GCC-) version number from `$CC --version`: trailing characters are optional.
fixed extraction of the pure (GCC-) version number from `$CC --version`:
trailing characters are optional.

this should fix bug report #840797 "Build on SuSE 8.1 fails with --enable-optimize".

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb