South Africa paceman Morne Morkel has been ruled out of the ICC Champions Trophy with a thigh injury.