Do not continue loading a vdex if we don't have enough reserved space.

It's always a sign that something is off and the oat file should be
rejected.

Note that if we continue loading, and the oat file somehow does not get
rejected, we will end up in a bogus situation where the OatFile has a
wrong value for vdex_begin_ and vdex_end_.

Test: test.py
Bug: 211367695
(cherry picked from commit 0d0e09d6f9fb7a37eedb68e9825d4d37b52b4410)

Merged-In: I6d6db4bc35f103c2aa935e91b2d329974cbd2d6b
Change-Id: I58b60b051d00b0920f43890c9ef4505ec18c850d
2 files changed