Detection of interfacial spin accumulation induced by anomalous Hall effect in ferromagnets