Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME

If set, $ANDROID_AVD_HOME will replace the default path
$ANDROID_SDK_HOME(or $HOME)/.android/avd.
If set, $ANDROID_EMULATOR_HOME will replace the default path
$ANDROID_SDK_HOME(or $HOME)/.android.

issue:78577

Change-Id: Ifb6e45aa63cd9e89b9c372f1acdc4e5d38e1a536
(cherry picked from commit 2a6e0b96aafb11db1b535554d908cc02769d09bb)
Merge "Adds ANDROID_AVD_HOME and ANDROID_EMULATOR_HOME" into studio-1.0-dev