coregl_tracepath_gl: Fix null reference in failure path tracepath_glGenTextures()