check errors at GLES program creation