gob: fix bug sending zero-length top-level slices and maps Fixes issue 1278.
gob: fix bug sending zero-length top-level slices and maps
Fixes issue 1278.

R=rsc
CC=golang-dev
http://codereview.appspot.com/3434046

tav/go,tav/go,tav/go,tav/go,tav/go,tav/go,tav/go