Error if attribute arrays are incorrectly sized in vtkGlyph2D.

Change-Id: I96558bfde006383827d08d5ed9303dadaa837e31