Fix "Crash when compiling with grackle_1 2 or 3 but running without --cooling"
This MR fixes #903 (closed). I pass the with_cooling
information to the cooling modules. For grackle cooling, the code stops before accessing uninitialised memory so we do not have a mysterious crash.