Ferromagnetic phase transition in topological crystalline insulator thin films: Interplay of anomalous Hall angle and magnetic anisotropy