Don't apply CanvasPattern#setTransform polyfill if the browser doesn't have support for Path2D#addPath

Because the polyfill just breaks in that case.