Methods compileShader and getShaderParameter should emit an error when
the shader has been deleted.