[OpenMP][libomptarget][NFC] Change checkDeviceAndCtors return type to bool.

What is exactly needed is only a boolean. Pulling OFFLOAD_SUCCESS/FAIL only adds confusion.

Differential Revision: https://reviews.llvm.org/D109303

GitOrigin-RevId: 2cfe1a09d1023af90c5270325623e64ad57fc5b8
3 files changed