cmake CPROF_HAVE_GMTIME_S examples

fluent/fluent-bit lib/cprofiles/CMakeLists.txt :89

check_c_source_compiles("
  #include <time.h>
  int main() {
     struct tm tm;
     struct timespec tms;
     return gmtime_s(&tm, &tms.tv_sec);
  }" CPROF_HAVE_GMTIME_S)