[HLSL][DirectX] Add IsDebuggingEnabled() (#243638)
Adds support for `bool IsDebuggingEnabled()` to Shader Model 6.10. The
function is defined in `hlsl::dx` namespace that is available only for
the DirectX target.
It uses a new built-in function `__builtin_hlsl_isdebuggingenabled`
which is translated to LLVM intrinsic `llvm.dx.isdebuggingenabled` and
lowered to DXIL operation `dx.op.isDebuggingEnabled`.
Fixes #231326
Fixes #231276