libgltf: fix Linux-with-check build

It seems some of the warnings are treated as errors
in Linux-with-check builds.

Change-Id: I9ed876ba634d944c022838a625164f06f100a7df