Prevent repeatedly generating runtime images.

The logic that determines whether or not to write a runtime image
relied on the compiler filter, but the compiler filter no longer changes
since r.android.com/2745733. This caused runtime images to be repeatedly
generated. This CL fixes it.

Bug: 260557058
Bug: 299720365
Bug: 299870503
Test: Presubmit
Change-Id: I9f33e9b315b2da086974e49d1069fc3877052b20
2 files changed