cmake HAVE_SEMA_INIT examples

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

check_function_exists(sema_init HAVE_SEMA_INIT)