Momentum-dependent mass and AC Hall conductivity of quantum anomalous Hall insulators and their relation to the parity anomaly