Tweak
Make much phased lock state btree private

This has the useful property of minimizing the assumptions surrounding what
methods amcanunique AMs use to do phased locking. It might also simplify some
aspects of memory management slightly.