Fix bug where generating data segments for V8 could cause an error.
Fix bug where generating data segments for V8 could cause an error.

ncbray/wassembler,ncbray/wassembler,binji/wassembler,binji/wassembler