Looking for MACHOs in the spectra of fast radio bursts