On nonresonance for systems of semilinear wave equations