Prevent misleading assertion failures.

At the moment, when some ZFS commands are invoked without superuser
privileges, an EPERM error occurs but is ignored. By returning an
error from zpool_refresh_stats, we prevent these assertition
failures, and give the user a more relevant error.