marshalPseudo serializes h into buf in the "pseudo-header" form required when calculating UDP checksums. The pseudo-header starts at buf[ip4PseudoHeaderOffset] so as to abut the following UDP header, while leaving enough space in buf for a full IPv4 header.
(buf []byte)