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
Change-Id: I6d6db4bc35f103c2aa935e91b2d329974cbd2d6b
2 files changed