encoding/gob: fix broken test (fix build)

R=golang-dev, kevlar
CC=adg, golang-dev
https://codereview.appspot.com/7093056