Speed up TEfficiency test.

Replace use of gROOT->ProcessLine which requires recompilation (JIT) for each use
by using CallFunc to compile the wrapper only once.