FIRST AMENDMENT, CONSENT, WAIVER AND JOINDER TO CREDIT AGREEMENT