Stage3D - added support for 16-bit indices when uploaded from byte array