Scaling of Stochastic Normalizing Flows in $\mathrm{SU}(3)$ lattice gauge theory