minor code simplification.
fixed light tracing after recent changes to appleseed's internal color pipeline.
fixed one issue in SPPM after recent changes to appleseed's internal color pipeline.