vertexbuffer: assert size of all attribute buffers to avoid runtime webgl errors.