Avoid crashing on browsers without WebGL.

NOTE: this is a pull request into `gltf`.

CC @pjcozzi