Re-enable the doInitialization/doFinalization on pass managers, and also  remove the (allegedly?) redundant optimization of the last function in the group.  This combination appears to squash some intermittent crashes we were seeing, or at the very least seems to make them significantly more rare (going from crashing in about 1/20 of testsuite tests, not the same ones every time of course, to running a few hundred tests without a crash).
Re-enable the doInitialization/doFinalization on pass managers, and also 
remove the (allegedly?) redundant optimization of the last function in
the group.  This combination appears to squash some intermittent crashes
we were seeing, or at the very least seems to make them significantly more
rare (going from crashing in about 1/20 of testsuite tests, not the same
ones every time of course, to running a few hundred tests without a crash).


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@800 a3683778-fedd-11de-87c3-653bb6514e15

sjparker/OpenShadingLanguage,sjparker/OpenShadingLanguage,mcanthony/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,rlmh/OpenShadingLanguage,brechtvl/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,svenstaro/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,Anteru/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,gzorin/OpenShadingLanguage,aconty/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,sjparker/OpenShadingLanguage,gzorin/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,Anteru/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,rlmh/OpenShadingLanguage,svenstaro/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,mcanthony/OpenShadingLanguage,gzorin/OpenShadingLanguage,svenstaro/OpenShadingLanguage,gzorin/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,Anteru/OpenShadingLanguage,Anteru/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,brechtvl/OpenShadingLanguage,juvenal/OpenShadingLanguage,mcanthony/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,juvenal/OpenShadingLanguage,mcanthony/OpenShadingLanguage,lgritz/OpenShadingLanguage,lgritz/OpenShadingLanguage,imageworks/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,sjparker/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage