Fix size of network protocol intergers.

This fixes the size of some integers that are visible in the network
protocol.  There should be no change for machines where sizeof(int) ==
4.

I tried to change all related values but I might have missed some.  This WILL change the network protocol of machines with non-32bit int types.
i don't think these ones should change?  pg_to_up_acting_osds() takes vector<int>'s