modify printf to log_error in semophore.c
remove #include "zlog.h" into #ifdef scope