Fix AREF call in TERM-DOC-FREQS

TERM-DOC-FREQS had an index variable and array variable transposed in AREF. This inhibited compilation on SBCL 1.1.13, which detected the problem via type inference. Changing the variables restores the ability to compile on SBCL 1.1.13.