NON-ABELIAN ANOMALIES ON A CURVED SPACE WITH TORSION