Apply the const attribute to ats_pagesize()