GS MORTGAGE SECURITIES CORP. GSAMP TRUST 2006-S3 MORTGAGE PASS-THROUGH CERTIFICATES, SERIES 2006-S3 Underwriting Agreement Dated as of April 25, 2006