[os_csyslogd] fix some compiler warnings
clean up csyslog config code
Merge pull request #412 from cgzones/os_csyslogd

[os_csyslogd] fix some compiler warnings