SetFirstToDraw/SetNumDraw replace SetDrawRange

Abort draw early if DrawMode is not valid or if FirstToDraw is higher
index than the number of verts.
During DrawPrimitves, guarantee that NumToDraw does not extend past size
of array.