Revert "Revert "add unittests for libnativeloader""

This reverts commit 4ec2b289834e37a518a1d9a006fccefd78c2370d.

Bug: 137881576
Bug: 130388701
Test: libnativeloader_test
Test: m libnativeloader_test on full-eng
Change-Id: Ib96f7235845b68cde713af278313c5aa751ff738
3 files changed