cmake HAS_64BIT_FILE_OFFSET_ examples

awslabs/aws-c-common cmake/AwsCFlags.cmake :24

check_c_source_compiles("
        #include <stdio.h>

        /* fails to compile if off_t smaller than 64bits */
        typedef char array[sizeof(off_t) >= 8 ? 1 : -1];

        int main() {
            return 0;
        }"
        HAS_64BIT_FILE_OFFSET_${variable})