vndk-def: Parse actions for ineligible libs

This commit extracts the code to parse the action when ineligible
vndk-sp or vndk libs occur.

Bug: 37867089
Test: All --action-ineligible-vndk-sp options worked as usual.
Test: All --action-ineligible-vndk options worked as usual.
Merged-In: Ifc06598b1acff828479d804323711ae0da6e7215
(cherry picked from commit 2a5a2dd52414e8dd0e69b1deae0b51d88c4ed58f)

Change-Id: I6af5b7512ef809753b6e3d9ff36a77f2711b116a
1 file changed