Update the texImage2D and texSubImage2D calls to take ImageData as a parameter per the spec.
*** This bug has been marked as a duplicate of bug 31562 ***