Fix broken links in `upgrade.md`. Contributed by @dklimpel.