Replaced calls from assert(glGetError()==0) with piglit_check_gl_error()