Jennifer Garner will team up with “Alias” creator J.J. Abrams on an adaptation of “My Glory Was I Had Such Friends.”