Numerical evaluation of generalized stress-intensity factors in multi-layered composites