Remove bad shared lock

This was at best unnecessary with TBB, and was outright broken with
pthreads (uninitialized mutex)