Use #ifdef to protect calling Factorial in benchmark_test.cc

`Factorial()` is defined in "#ifdef DEBUG" but is called outside "DEBUG". It makes the default building process failed.