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

Adds ImageData set support for legacy safari
Revert commit fc73e2e (PR 5005) for breaking certain PDF files
Merge pull request #5069 from Snuffleupagus/revert-5005

Revert commit fc73e2e (PR 5005) for breaking certain PDF files
Fix another seac regression (issue 4801)