South Africa near WTC win vs Australia with Bavuma grit and Markram century