D3D12: Fix out of bounds root parameter index when per-pixel lighting is disabled
std::any_of
WIN32
CMAKE_SYSTEM_NAME STREQUAL Windows