benchmarks/iperf: Fix build with IPV6 disabled
PR: 278607 Reported by: <peter.sopko+freebsd.org@backbone.sk>