GameStop posted its first profitable quarter in two years