OfxEffectInstance: set thread storage in constructor before calling getRegionOfDefinitionAction