Mahama warned over homosexuality