Make the kernel cache depend on preprocessed CL source, part 4
Make the kernel cache depend on preprocessed CL source, part 4

lib/CL/clBuildProgram.c: move to new pocl_cache functions. For programs
created from binaries, the pocl_cache_create_program_cachedir is moved
inside the for loop, since we don't have program->cachedir anymore.

For programs from sources, since we don't know the preprocessed
source until we're inside pocl_llvm_build_program(), we let that
function take care of creating the cachedir.

franz/pocl,dsandersimgtec/pocl,Oblomov/pocl,sting47/pocl,jrprice/pocl,maZZZu/pocl,pocl/pocl,Oblomov/pocl,0charleschen0/pocl,jrprice/pocl,Oblomov/pocl,0charleschen0/pocl,rjodin/pocl,pavanky/pocl,rjodin/pocl,pavanky/pocl,sting47/pocl,pocl/pocl,dsandersimgtec/pocl,pavanky/pocl,vkorhonen/pocl,maZZZu/pocl,pocl/pocl,pavanky/pocl,franz/pocl,franz/pocl,franz/pocl,Oblomov/pocl,dsandersimgtec/pocl,Oblomov/pocl,maZZZu/pocl,sting47/pocl,maZZZu/pocl,0charleschen0/pocl,sting47/pocl,rjodin/pocl,vkorhonen/pocl,jrprice/pocl,jrprice/pocl,0charleschen0/pocl,franz/pocl,pocl/pocl,rjodin/pocl,dsandersimgtec/pocl,vkorhonen/pocl,pocl/pocl,vkorhonen/pocl,sting47/pocl