Measurements of the charge asymmetry in top quark pair production at the LHC with the ATLAS detector