Thermodynamic Effects of Alloying Elements on Solid-State Interfacial Reactions in a Multicomponent System: Theoretical Treatment and Application in SiCf/Ti Composites