Add --depth flag to 'git submodule update'

Fixes https://github.com/travis-ci/travis-ci/issues/1867