fixed grackle compilation issue
I was trying to re-create the cooling I use in the RT part with just the cooling module, and have found several problems. For any flag --with-cooling=grackle_N
for N
> 0, the code wouldn't even compile. This MR fixes that.
I'll open an issue to keep track of additional problems I've encountered with the grackle cooling.