FMaterialCompiler::GetSubstrateTreeOutOfStackDepthOccurred

This can be used to know if the Substrate tree we are trying to build is too deep and we should stop the compilation.