Fix collectd types.db parsing

Fixes a bug in collectd's types.db file parsing causing the types
featuring more than one DS to be incorrectly looked up when processing
collectd packets.
Merge pull request #8 from falzm/fix-collectd-typesdb-parsing

Fix collectd types.db parsing