Spectral distortions of astrophysical blackbodies as axion probes