Fix invalid private access.

See http://bugs.sun.com/view_bug.do?bug_id=6904536

bug: 8992787

(cherry picked from ff19ed981400cd150f8779107cba1e02033b9ebe)

Change-Id: I7cad5e9cf8761b440cf91b96e3599d19bc3188d9
jni: fix C99 inline linking

Clang builds C code according to the C99 standard,
which provides different semantics for the inline
keyword than GCC's default behavior. This is the
correct behavior without any gnu extensions.

See here:
http://clang.llvm.org/compatibility.html#inline

Change-Id: I831a5189e027a2f0cb3c7d9cda56bd3701502863