texture: make format and internal_format default to RGBA
texture: make format and internal_format default to RGBA

Also refactors texture_init().

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl