Adds ImageData set support for legacy safari
Merge pull request #5068 from yurydelendik/imgdata-safari

Adds ImageData set support for legacy safari