Initialize msg/shm IPC objects before doing ipc_addid()