Cast delegates to STPTransitionCenter class to suppress Xcode warnings

This suppresses the "Initializing 'STPTransitionCenter *__strong' with expression of incompatible type 'id<*Delegate>' warning in Xcode for the two categories