add sample usage for snappy_validate_compressed_buffer