Interplay between structural, magnetic, and electronic properties in a FeO/Pt(111) ultrathin film