Report bad external profile errors during compilation.

Bug: 278080573
Test: atest ArtServiceTests
Ignore-AOSP-First: ART Service.
Change-Id: I770ac90016d9ead4eb02e557b5aa9070bcd67a5c
8 files changed