THIRD AMENDMENT TO AND WAIVER UNDER AMENDED AND RESTATED RECEIVABLES PURCHASE AGREEMENT