SMART GLOBAL HOLDINGS, INC. AMENDED AND RESTATED REGISTRATION RIGHTS AGREEMENT Dated as of November 5, 2016