Anomalous Hall effect in a magnetically extended topological insulator heterostructure