mips: always set IPC_64 for the SysV IPC *ctl commands
mips routes semctl/shmctl/msgctl through sys_old_semctl & co. (n32 uses
the compat_sys_old_* variants), and those call ipc_parse_version(), which
strips the IPC_64 bit out of cmd to choose between the ancient and the
modern struct layout -- on every kernel version, n32 and n64 alike. So
IPC_64 must always be set; without it the kernel returns the old struct
and e.g. semctl(IPC_STAT) reports sem_nsems == 0.
ipc.h had mips in the same kernel-version guard as i386/m68k (IPC_64 = 0
from 5.1 on), which is correct for those arches because 5.1+ routes their
*ctl through the direct sys_semctl (which does not parse the version) but
wrong for mips: built against >= 5.1 headers the bit was dropped and the
sem/tst-semctl/tst-shmctl tests failed on the mips64 n32/n64 targets.
Give mips its own branch that keeps IPC_64 = 0x100 unconditionally.
Verified on qemu-system-mips64 (mips64-be-n64, linux-6.1.60 headers): sem,
tst-semctl and tst-shmctl pass.
Signed-off-by: Ramin Moussavi <ramin.moussavi@yacoub.de>