Fix most -Wpedantic warnings in collectd core. Thanks to @eero-t. #4243 df plugin: An out of bounds read, causing segmentation faults, has been fixed. Thanks to @octo. #4252 swap plugin: Migration to v6.0. Thanks to @octo. #4190