MENTOR GRAPHICS CORPORATION FIRST AMENDMENT TO CREDIT AGREEMENT