Conditionally include `sudo` in suggested update command

Closes https://github.com/CocoaPods/CocoaPods/issues/2058