The if_tsresol option is 1 byte long, so only copy the first byte.

By pure luck and padding, copying 4 bytes *happens* to work on
little-endian machines, but it's an epic fail on big-endian machines.

This fixes GitHub issue #397.