Bug 1000974 - Don't do cycle collector optimization for nodes in the shadow tree. r=smaug