Move OpenGL info text generation from dbg_buginfo to kis_opengl
Reduces code duplication and makes it easier to add new info.