Truncate pid to 2 bytes.

Mac OS X pids go up to 99999 as of Leopard, which causes an assertion in
num_to_le_uint.
Merge pull request #25 from phensley/ph-mac-pid

Truncate pid to 2 bytes