The president of South Africa's Olympic Committee says the country will consider a bid for the 2020 or 2024 Games.