MFC r316599:
Prevent ushort values overflow when convert new Linux 64-bit ipc struct to the old Linux ipc struct.