Call TexImage2d from GLUtils instead. Fixes #10668