[scudo] Always express sizes in terms of element count in BufferPool (#66896)

This fixes the issue that resulted in getBuffer interpreting its
argument as a number of elements and getDynamicBuffer interpreting it
as a number of bytes.

GitOrigin-RevId: 76a5602fd027995e84bb991be0475bf8318ce51c
3 files changed