Method and device for controlling a static converter supplying a current source