THIRD AMENDMENT AND CONSENT TO FIFTH AMENDED and RESTATED CREDIT AGREEMENT