cmd/dist: update cmd/dist toolchain1 stubbing for rewrite packages