As South Africa braces for a credit-rating downgrade, the nation’s companies are finding the bond market an unfriendly place.