SAHRC CEO resigns ahead of racism probe