Bug 1072680 - Untangle the mixup of formats vs internalformats in the WebGL implementation - r=jgilbert