Frequency-independent terahertz anomalous Hall effect in DyCo5, Co32Fe68 and Gd27Fe73 thin films from DC to 40 THz