ck_swlock: Switch to TATAS style loop for latch operations.