st/mesa: fix handling of vertex array double inputs