TS-1921: Fix reclaimable freelist stuck in infinite loop

The initialization order of static variables is fragile, so let's
use ats_pagesize() to replace the page_size static variable in
reclaimable freelist, and do some optimization for ats_pagesize().