access: fix compilation warning: unused function

This commit:
 - puts calculate_rate_cmp_table function into #ifdef brackets.
   The function was used for computing
   rate comparison table. The function is a reference
   for the way how the table was computed.
 - fixes typo

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>