glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support