Delete the shader program on link failure.
Fix Mac build.
Merge pull request #2177 from jack-karamanian/glsl-program-link-fail-cleanup

Delete the GLSL program on link failure in ShaderProgramCache.