Reconstruction of the Temporal Component in the Source Term of a (Time-Fractional) Diffusion Equation