Move cog setup logic into shell_utils so it can be used when any of these commands are run:

- `m`
- `lunch`
- `source build/envsetup.sh`

this will set up the symlink properly regardless of the order of commands so users don't get stuck with a broken build

Bug: 362337892
Change-Id: Ifda611fc674d0ebb035f0fcc695100e76f904e5a
diff --git a/soong_ui.bash b/soong_ui.bash
index 7737880..2f688ef 100755
--- a/soong_ui.bash
+++ b/soong_ui.bash
@@ -26,6 +26,7 @@
 
 source $(cd $(dirname $BASH_SOURCE) &> /dev/null && pwd)/../make/shell_utils.sh
 require_top
+setup_cog_env_if_needed
 
 # Save the current PWD for use in soong_ui
 export ORIGINAL_PWD=${PWD}