[SYCL] Fix for device global / device image dependency (#21657)
The SYCL mechanism for handling device globals does not currently take
into account image dependencies, instead it only handles the globals
present in the main image. This PR fixes that. It requires newer drivers
( 37170 or later).
Seems to be working on L0 and the OpenCL CPU device, but, surprisingly,
not the OCL:GPU device.