cmake HAVE_SEM_INIT examples

SWI-Prolog/swipl-devel cmake/Config.cmake :313

check_function_exists(sem_init HAVE_SEM_INIT)