libdcap: enforce IOV_MAX if system doesn't provide it

on some OSes IOV_MAX is not defined and allowed dcap
linrary to misbehave in case of large vector requests.

Ticket: #6441, #7960
Acked-by: Gerd Behrmann