Boot image: only use the resolution stub when there is AOT code.
am: 5a0b672656

Change-Id: Ie6477444fca5289c5a1c5c6b47c45b569016978f