Fix zfs_version on older versions of Solaris 10

The zfs upgrade command used by zfs_version does not exist on some older versions of Solaris 10.

This checks for the existence of the command before trying to run it.