net/textproto: fix CanonicalMIMEHeaderKey panic

Fixes issue 6712

R=golang-dev, adg, rsc
CC=golang-dev
https://codereview.appspot.com/21450043