Add a test binary that demonstrates the use of reduce kernels in C++.

Bug: 22631253

For this to currently work, the dispatch table code in
frameworks/rs/cpp/rsDispatch.cpp needs to be modified so that it adds
ScriptReduce to the dispatch table.

Change-Id: Ia9f1142d646a2a354efe515d74bcd114ebf8b4c3
3 files changed