With a history of anti-apartheid support, the Islamic Republic enjoys warm ties with Pretoria - which it seeks to exploit, as Western sanctions sting