South African leader commiserates with Palestinians, other Muslims fasting in conditions of war