{Measurement of the top quark charge in $pp$ collisions at $\sqrt{s} =$ 7 TeV with the ATLAS detector}