[SYCL][E2E] Add O0 feature detection for lit tests (#21895)
Add feature detection for unoptimized builds in lit test configuration.
Tests can now use REQUIRES: O0 to conditionally run when building with
-O0 (Linux/Clang) or /Od (Windows/MSVC) flags.
For XFAILs like: https://github.com/intel/llvm/pull/21141