GameStop fired its CEO and appointed Ryan Cohen as executive chairman just months after the company reported its first quarterly profit in two years.