cmake HAVE_GCC_FORMAT examples

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :479

CHECK_C_SOURCE_COMPILES("int foo(const char *str, ...) __attribute__((format(printf, 1, 2)));
                         int main() {return 0;}" HAVE_GCC_FORMAT)