Hamid leaving DCU for Gold Cup