pcap_io: minor: fix some quirks

We can just replace int with uin32_t, that's no problem. Also
fix one case where we moved to uint16_t.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>