Added a flag to APIs for rsObj creation

Bug: 25570907

This flag will distinguish calls from Java/JNI vs. Single-Source RS.
For the latter, the user ref count should remain zero to avoid memory
leaks.

Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf
(cherry picked from commit a7725cbfcdfe2eaf868571c77f004a4d7208e8ef)
7 files changed