Rassie van der Dussen's century helped South Africa spoil Ben Stokes's farewell to one-day international cricket as the