All lock operations should be barriers

Details

Description

When testing changes in WT-2560 on PPC, we discovered that the read/write lock implementation (and hence the fair lock implementation) do not include barriers in all of their lock / unlock operations. They need to: reasonable application code relies on it.