Fix #35681: cycles excluded layers still got evaluated before and after rendering even if they were not used on any render layers.
Fix #35681: cycles excluded layers still got evaluated before and after
rendering even if they were not used on any render layers.

pyrochlore/cycles,pyrochlore/cycles,tangent-opensource/coreBlackbird,tangent-opensource/coreBlackbird,pyrochlore/cycles,tangent-opensource/coreBlackbird