git-submodule.sh: preserve stdin for the command spawned by foreach