[RenderScript] Guard rsDebug calls with a runtime check

http://b/27886613

Put a runtime check around rsDebug calls to prevent excessive logging,
while simultaneously ensuring that overeager compiler optimizations
don't optimize away writes to kernel inputs.

Change-Id: I5af22c8c60a73615bf61ee61d78d19236d88fe00
1 file changed