Fix libnativehelper strerror_r build break.

We can remove this when there's a newer NDK to build with.

Change-Id: I2b4dccd720954f40abc3753028187e413fc0b3c8
Merge "Fix libnativehelper strerror_r build break."
NativeHelper: Do not allow arbitrary library strings in user builds

On device, only allow "libart.so" in non-debuggable (user) builds.

Bug: 16404669

(cherry picked from commit 5019faa3a6bdde33785ece0537e8b865ea7cf938)

Change-Id: Ie163c04ce40c82698dcc98ced651dafef094d8b5
Merge "NativeHelper: Do not allow arbitrary library strings in user builds"