Yeah, unfortunately, you cannot kill the mold spores without destroying the weed. You can kill the growing mold by drying it, but the spores will remain. Inhaled in high concentrations, many species of mold can lead to serious infections, and may even be fatal. Unless you are a mycologist and can identify whether the particular specia involved are safe, you'd do well to just destroy it.