ipc/sem: play nicer with large nsops allocations