Fix shutdown crash.

Both glGetShaderiv and glGetShaderInfoLog do not set their outputs
on failure, we need to initialize them.

On app shutdown (e.g. via the back button), we end up in display
shutdown which travels through GLLost which ends up trying to
rebuild the shaders.  This causes an ANR.
Merge https://github.com/hrydgard/native