[SYCL] Also check for use of SYCL_PI_TRACE on Linux (#15113)
As part of removing the plugin interface a check was added for the use
of the `SYCL_PI_TRACE` environment variable. However, this was only
applied on the Windows path. This patch moves this check to a common
path for both Windows and Linux.
Author
Kenneth Benzie (Benie)