Composition of island arcs and continental growth