Switch to atomic flags for LSM chunks, to avoid racing when setting merge flags