Merge "Remove legacy CAS implementations from mutex."