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

Change-Id: I2dfd40e8c3d035fc3e96b0fd3648006b216d1574