Marokkos U-23 landslag fikk en avgjørende 1-0 borteseier mot Etiopia på Dire Dawa stadion for å gå videre i Afrika U-23 Cup of Nations kvalifisering.