A mathematical justification of the low-frequency heterogeneous time-harmonic Maxwell equations