This is for bug 236043: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236043
'be_destroy' can destroy a boot environment (by name) or a given snapshot. If the target to be destroyed is
a dataset, check if it's mounted. We don't want to check if the origin dataset is mounted when destroying a snapshot.