Gypsum itself cannot mold. In case of drywall, the cardboard can of course mold but at the beginning it is still full of fungicides. Mold is actually not a problem for gypsum during the construction phase (unless it lasts very long). Later, when dust and other organic particles have settled, mold is of course also an issue under continuous moisture... Gypsum itself can also handle moisture very well. It is very absorbent and also dries quickly again (by the way better than lime cement). When you have dry phases. And that is the problem with drywall/plaster. Under continuous moisture it loses its stability. It can then really dissolve. That is inconvenient and also affects the load-bearing capacity in the long run. So if you say gypsum does not like too much moisture, you really mean the duration, less the amount (eventually that is also too much, but usually not in normal construction projects). That means, yes, if after the whole process dry phases occur, it is actually no problem. The question is what the painter paints with. If he uses dispersion paint the moisture could be trapped in the drywall and the dispersion is organic, so there is again a risk of mold. So drywall is probably okay, but I would only paint (or have it painted) after the functional (or even occupancy) heating. Good luck!