include/servtree.h: fix null pointer dereference

svs can be NULL when we are logging /stats <letter> services. so check
for that case before looking up ->logtarget.
Merge branch 'bugfix-1' of https://github.com/ilbelkyr/atheme