Replace futex latches with spin latches