Get the gzipped size of a string or buffer