* sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make operation atomic. From-SVN: r109110