fn align_to_pooled_buf_size(size: u64) -> u64
Aligns the given size to the multiple of the pooled buffer size.