[SYCL] Improve cachability when building with ccache (#21370)
We already had a workaround for `sccache` but `ccache` has the same
limitation and we don't use `sccache` anymore in CI.
In my experiments for the compiler build step on a completely unchanged
module:
Before `2m56`
After `2m0s`
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>