Fix a panic when more than the default number of sempahores are allocated.  Problem debugged by thib@
Fix a panic when more than the default number of sempahores are
allocated.  Problem debugged by thib@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars