libcore: add dependency on libnativehelper_compat_libc++

Part of reducing the libnativehelper API surface. The symbols
jniLogException and jniRegisterNativeMethods are no longer part of the
libnativehelper API, but are present in the static
libnativehelper_compat_libc++.

(cherry picked from commit 13f17b96d69290a180670edc6ede239d41ea8c2c)

Bug: 188067586
Test: m
Merged-In: I336baea7983a820d1b396344f23a69582139126c
Change-Id: I63d3e116070d920243f9c66ca44c91cec16756df
1 file changed