Make odrefresh respect cancellation in Pre-reboot Dexopt. In Pre-reboot Dexopt, we run odrefresh to generate temporary boot images. This takes quite a while, so we need it to respect cancellation. Bug: 311377497 Test: m test-art-host-gtest-art_artd_tests Test: Run and cancel Pre-reboot Dexopt. Change-Id: I857f3af52ffcc4665c7a0f6b06e175b448b1a412