[sgen] Fix block size computation for allocation size