AMENDMENT NO. 12 AND WAIVER TO THIRD AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT