Try alternative NVM location if installed via Homebrew on OS X.

On Mac OS X, `nvm` is usually installed via Homebrew with full path `$(brew --prefix nvm)/nvm.sh`.
We try looking up the location in case `nvm.sh` isn't available in `~/.nvm/nvm.sh`.