Fix out-of-bound accesses in Renderscript GetSetTest

On the Java side of the test, the test set up code, i.e.,
GetSetTest::testSetup(), creates allocations of width divided by the
given vector size, whereas the script side of the test getset.rs assumed
undivided widths. So when testing short vector types, the allocation's
X dimension would be 1/(vector width) of what expected by script, and
that error was caught by the debug context.

This CL fixes the problem by revising the script so it has the same
assumption on X dimension size as the Java side test set-up code. Also
fixes incomplete verification routines which only looked at first 252
elements out of total 252*31*4 elements.

Bug: 37914681
Test: Ran affected CTS tests in normal and debug contexts
Change-Id: I1dedb44092cc06630c7c5700641a075278156f3f
(cherry picked from commit 88b3c33bc83180fe12ecf95c7bbe75e51ab2d213)
2 files changed