GameStop’s stock shoots up after reaching agreement with activist investor