[os_csyslogd] fix some compiler warnings