South African president: Gadhafi ready for truce