French intelligence investigates spy device found aboard docked ship