snappy: Refactor so ff_snappy_uncompress() uses an existing buffer