Ignore ENOSYS from sys_msgrcv() and sys_ipc()

sys_msgrcv() and therefore also sys_ipc() can return ENOSYS when
CONFIG_CHECKPOINT_RESTORE=n. See prepare_copy() in ipc/msg.c.