Add a function "check_path" in envsetup.sh for check executable file.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>