SERVER-5099 Fix 32-bit signed/unsigned warnings