AMENDMENT NO. 5 TO THIRD AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT