Measurement of the semileptonic \( \mathrm{t}\overline{\mathrm{t}} \) + γ production cross section in pp collisions at \( \sqrt{s}=8 \) TeV