Fix nvm_rc_version function to set NVM_RC_VERSION globally

With this fix, running `nvm use` without other arguments will use the version defined in .nvmrc