HIVE-7422 : Array out of bounds exception involving ql.exec.vector.expressions.aggregates.gen.VectorUDAFAvgDouble (Matt McCline via Jitendra Nath Pandey)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1612988 13f79535-47bb-0310-9956-ffa450edef68