virLogDefineOutputs: Fix build without syslog.h
virLogDefineOutputs: Fix build without syslog.h

Not every system out there has syslog, that's why we check for it
in our configure script. However, in 640b58abdf while fixing
another issue, some variables and functions are called that are
defined only when syslog.h is present. But these function
calls/variables were not guarded by #ifdef-s.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

VenkatDatta/libvirt,nertpinx/libvirt,jfehlig/libvirt,taget/libvirt,eskultety/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jfehlig/libvirt,zippy2/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,datto/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,taget/libvirt,libvirt/libvirt,eskultety/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,datto/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,libvirt/libvirt,olafhering/libvirt,datto/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,olafhering/libvirt,eskultety/libvirt,olafhering/libvirt,VenkatDatta/libvirt,taget/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,fabianfreyer/libvirt,datto/libvirt,nertpinx/libvirt,jfehlig/libvirt,taget/libvirt,olafhering/libvirt,zippy2/libvirt,zippy2/libvirt,jfehlig/libvirt,datto/libvirt,andreabolognani/libvirt,eskultety/libvirt,crobinso/libvirt,crobinso/libvirt,crobinso/libvirt,fabianfreyer/libvirt,taget/libvirt