gallivm: add coro malloc hooks earlier and always.
This fixes GALLIVM_DEBUG=asm for compute shaders, changing the hooks after dumping causes a segfault because the memory has already been finalised. Just add the hooks always, and before dumping anything.
Fixes: f511d2a5 ("gallivm: rework coroutine malloc/free callouts.")