Ghana captain Asamoah Gyan admits he has had to "sacrifice" his own goalscoring chances for the good of his team in the opening two matches at the African Nations Cup.