Bug fixes for __semctl() system call shim.