gallivm: fix printf hook for cached shaders.
I've noticed this before but never tracked it down, but it's annoying.
The printf hooks would crash with debug shaders when they were loaded from the cache. This was because nothing was initing the printf hook in the cached path so the global was never set.
No problems just always creating this afaics.