AMENDMENT NO. 2 TO STOCKHOLDER RIGHTS AGREEMENT