[profile] Handle failed target probes in test configuration (#238086)

The Android sanitizer build can fail while loading the profile test
configuration when the `--print-targets` probe fails.

Check that the probe returned text before searching for the AMDGPU
backend. This lets test setup continue when the optional probe fails.

Buildbot failure: https://lab.llvm.org/buildbot/#/builders/186/builds/3988

GitOrigin-RevId: c2bef24eac9a60340bb565f7007ec80e25b05092
1 file changed