OfxEffectInstance: safer OfxRectD to OfxRectI conversion