AMENDED AND RESTATED CREDIT AGREEMENT between MIDLAND STATES BANCORP, INC. and RICHARD E. WORKMAN 2001 TRUST Dated as of December 31, 2010