Bug 823056: Move locks to protect linked_ptr<> instances r=ehugg