Revert "Support System.loadLibrary for libraries with transitive dependencies."

This reverts commit 23e839b296dfa86ee8d99de95efc3b8a60076ecb.