Move to C API of libnativeloader.

Test: m
Bug: 119840313
Bug: 122710865

(cherry picked from commit e1d970df09af55bbab9d9df438ff71088c7842d7)

Merged-In: Id5b08ef5de0d38cb678a50e45d38dfb8107c4a1c
Change-Id: Ic82baa885caa5125dd3c8b5de854128c75f48caf

Exempt-From-Owner-Approval: Cherry-pick of approved CL in master.
7 files changed