Inversion of incomplete spectral data using support information with an application to magnetic resonance imaging