SmartOS: explicitly set path for `which` under SmartOS

Workaround issue from https://github.com/wayneeseguin/rvm/commit/56a84d4004cbac5b7112bcc486dfe07dacc18737 where SmartOS path to `which` is not in same directory as other gnu tools.