Fix potential threading crash in [AudioPlayer duration] (I think). Moved to Apple provided spinlock implementation