FIRST AMENDMENT TO AND WAIVER UNDER CREDIT AGREEMENT