ipc/sem.c: bugfix for semop() not reporting successful operation