In GetDexoptNeeded, check whether the oat file was compiled without image.

If there now is an image on disk, return that we need to recompile.

Test: manual
Bug: 214376933
Change-Id: If229a892e2729ffa882cb56a0b983df1bd94acc5
4 files changed