scimoz: manually implement markerDefineRGBAImage
* needed as the JS code can only use a utf-16 string

(integrated from trunk branch change c27e573 by Todd Whiteman <toddw@activestate.com>)