[collectd5] Fix build failing due to error in VARIANT handling