Multiplicity results for some elliptic systems near resonance with a nonprincipal eigenvalue