Misc fixes to renderer2 to correctly use sizeof(glIndex_t)

While doing the WebGL port I had the need to use ushort index buffers and ran across this.