UControlRigSequencerEditorLibrary::GetAnimLayerIndex

Helper function to get the index in the anim layer array from the anim layer