like jo's previous patch: do the same in OpenCL code

remark to OpenCL users: you need to delete the cached OpenCL binaries
in $HOME/.cache/darktable/cached* in order to take advantage. Unfortunately
our caching algorithm does not auto-detect these changes