scripts: Update riscv-toolchain install script to support CI

If the tarball is preinstalled (as in the CI docker image), bypass the
fetch and only extract the tarball the cache toolchain location.

Change-Id: I2eca45980671ef9435340c3567d99910665b56a4
1 file changed