Method and device for quickly modifying the torque of an internal combustion engine