glretrace: Handle errors on glUseProgram more gracefully.
glretrace: Handle errors on glUseProgram more gracefully.

Fixes https://github.com/apitrace/apitrace/issues/679

apitrace/apitrace,apitrace/apitrace,apitrace/apitrace,apitrace/apitrace