AMENDMENT NO. 5 AND WAIVER TO AMENDED AND RESTATED REVOLVING CREDIT AGREEMENT