stat: add a new function to allocate a clat_prio_stat array