[SYCL] Use refs to device_impl in ProgramManager (#18320)
Refactored the `ProgramManager` to use `device_impl &` instead of `const
device &`.
See https://github.com/intel/llvm/pull/18270 and
https://github.com/intel/llvm/pull/18251 that started the refactoring.
Signed-off-by: Sergei Vinogradov <sergey.vinogradov@intel.com>