Fixed SceneGadget deadlock with python expressions.

The GIL must be released on the calling thread any time the SceneGadget might evaluate the scene on a TBB worker thread, in case the node graph contains nodes which use Python.