Revert "locking: support shared memory locking"

I just enabled this on jefftk.com and it locked the server up.

This reverts commit d0464e8982f804da28b6762a3af681074663a857.