Flavor symmetry breaking and mixing effects in the $\eta \gamma$ and $\eta'\gamma$ transition form factors