Fix double free issue on merge operator and slice transform.

The options struct in rocksdb/options.h has these as being shared_ptr's so we
don't need to destroy them when done. They'll be deallocated by
rocksdb_options_destroy.