collectd: fix detection of htonll()

Fixes compilation on 10.10; already fixed in HEAD.

Fixes #33192.