UMD-ify canvg, stackblur and rgbcolor

Follow-up from https://github.com/Rich-Harris/canvg/issues/2 - this PR exports `canvg` (and by extension `stackBlur` and `RGBColor`) in a way that's compatible with CommonJS/AMD module loaders and optimisers