Check that LTO is supported by the version of GCC before using.