vscode: simplify helper scripts
This simplifies the following commit.
- Remove `--` from `rm` because `$tmpDir` is guaranteed to never start
with a `-`.
We also don't use this pattern when removing tmpDirs at other places
in nixpkgs.
- Remove `unset tmpDir` because the variable `tmpDir` is never
accessed after the exit handler is run.