libgltf: fix up this patch, some forgotten changes

Change-Id: I0fe3ee06d8112207f3ae3e0e8e40fa74d043ce11