in a similar way to the previous patch that removed the limit on the number of semaphores and fixes bug 86264. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2776