Phase-change control of anomalous Hall effect in ferromagnetic MnBi thin films