Guinea's luck runs out as Ghana reaches AFCON semifinals