GameStop has been in the midst of a turnaround and posted its first quarterly profit for the first time in two years.