This is a short patch which cleans up code for unlogged LSNs. It replaces the existing spinlock withatomic ops. It could provide a performance benefit for future uses ofunlogged LSNS, but for now it is simply a cleaner implementation.