Antiphase dynamics in a multimode semiconductor laser with optical injection