Check that the compiler supports --no-detect-libgrades.

configure.ac:
	As above.