mime/multipart: fix Writer data race test
mime/multipart: fix Writer data race test

If the process exits before the spawned goroutine
completes, it'll miss the data race.

LGTM=bradfitz
R=bradfitz
CC=dvyukov, golang-codereviews
https://codereview.appspot.com/122120043

webfd/go-zh,sanjosh/sanjos100-tipc,webfd/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,webfd/go-zh,bryanxu/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,bryanxu/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,webfd/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,d0f/go-zh,webfd/go-zh,d0f/go-zh,d0f/go-zh,bryanxu/go-zh,d0f/go-zh,webfd/go-zh,d0f/go-zh,bryanxu/go-zh,d0f/go-zh,sanjosh/sanjos100-tipc,bryanxu/go-zh,webfd/go-zh,bryanxu/go-zh,d0f/go-zh,d0f/go-zh