Aprof support for JNI libraries

Signed-off-by: Kito Cheng <kito@0xlab.org>

Change-Id: Ie2fd278a9b3b20fc565c039dfaa8ec320327b595