Make zfs_unmount_snap() bubble up errors.

This fixes the build, which previously contained an unfinished merge of
older changes with newer illumos-gate.