[build] Checkout latest commit in submodules