Compound nuclear reactions as a test of T-invariance