Correct memory leak on OpenGL compressed texture cache builder.