Added notice to autotools to dump GCC version.

Review: https://reviews.apache.org/r/18599