art script: generate app image for profile filters

We recently started requiring app images to load an OAT file that was
compiled using --compiler-filter=speed-profile or
--compiler-filter=everything-profile.  The CL that introduced this
behavior change is https://r.android.com/1290475

Unfortunately, this led to large regressions in Golem because we were
not generating app images there. This change adjusts the art script to
generate app images when the compiler filter is speed-profile or
everything-profile, which should fix the regressions.

Bug: 38313278
Test: Run CaffeineFloat, observe that performance improves
Change-Id: I020d451bc6f3ea4399bc39157398eb35929bfddd
1 file changed