FIRST AMENDMENT AND LIMITED CONSENT AND WAIVER TO THE CREDIT AGREEMENT