shadow: Capture only 40 bytes of packets
I've had this commit sitting in my arti repo since last August, so figured I'd make an MR. @jnewsome If there's any reason to not include this change, feel free to close, I don't have a strong opinion either way.
The pcaps are only used to check for leaks by reading the packet source/destination, so we don't need the entire packet. This should make CI artifacts a bit smaller. I see a current pcap artifact is about 46 MiB.
The fixed-size portion of an IP header is 20 bytes for IPv4 and 40 bytes for IPv6. Shadow doesn't support IPv6, but I used the IPv6 header size anyways.