FIRST AMENDMENT TO CREDIT AGREEMENT Dated as of October 18, 2011 by and among GOVERNMENT PROPERTIES INCOME TRUST,