fix OpenGL error in libgltf

The code tried to free a program as a shader

Change-Id: I47de706044a5756cf972d9fdb38cac2ca1355414