gltfpack: Extract buffer view setup into a function
gltfpack: Extract buffer view setup into a function

Also add code to fill fallback buffer; now we need to fix JSON schema.

zeux/meshoptimizer,zeux/meshoptimizer,zeux/meshoptimizer