sync/atomic: add Swap to nil deref test

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/12870043