[SYCL][Libdevice] Split SYCL specific code in sanitizer libdevice (#12915)
Current SYCL device sanitizer can be ported to other offloading solution
such as openmp but sanitizer libdevice uses some SYCL specific macro or
code which is only valid in SYCL scenario, this PR splits these
code/macros.
---------
Signed-off-by: jinge90 <ge.jin@intel.com>