Quasirecognition by prime graph of the simple group 2G2(q)