input/collectd: Fix crash

  * The plugin would crash if an encrypted packet was received and no
    authfile was configured. This commit fixes this.