collectdctl.c: fix two compiler warnings