plugin/tail: collectd < 5 backwards compatibility

Closes: https://github.com/pommi/CGP/issues/36