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`.