Allow failure in RecordClassStatus for uses-library classes

The problem was that recursive initialization attempts to initialize
classes in used libraries for the app image case. This meant we
attempted to add an oat class status for the uses-library classes.

Adding a regression test is infeasible since run-test doesn't support
uses-library.

Test: test-art-host
Bug: 63994775

(cherry picked from commit 010f5ccfb666994c8c65d5b4f8a15208da3aee39)

Change-Id: Id0f8202454aea3feb5802b757c5997d1bba81294
1 file changed