godoc: Fix dereference of nil *SearchResult. Fixes golang/go#7364.
godoc: Fix dereference of nil *SearchResult.
Fixes golang/go#7364.

R=bradfitz
CC=golang-codereviews, sameer
https://golang.org/cl/66470044

matryer/tools,4ad/tools,runcom/tools,dmitris/tools,springning/tools,nicot/tools,sshetty10/tools,cw2018/tools,dmitris/tools,glasser/golang-tools,syreclabs/go-tools,josharian/tools,cmars/tools,argandas/tools,golang/tools,maddyonline/tools,syreclabs/go-tools,sshetty10/tools,maddyonline/tools,syreclabs/go-tools,josharian/tools,argandas/tools,jdhenke/tools,jdhenke/tools,glasser/golang-tools,jdhenke/tools,cw2018/tools,syreclabs/go-tools,springning/tools,maddyonline/tools,syreclabs/go-tools,cmars/tools,dmitris/tools,cw2018/tools,argandas/tools,jdhenke/tools,springning/tools,glasser/golang-tools,4ad/tools,glasser/golang-tools,maddyonline/tools,magiccao/tools,sshetty10/tools,matryer/tools,nicot/tools,runcom/tools,golang/tools,golang/tools,matryer/tools,magiccao/tools,josharian/tools,syreclabs/go-tools,magiccao/tools,nicot/tools,nicot/tools,runcom/tools,sshetty10/tools,magiccao/tools,dmitris/tools,argandas/tools,runcom/tools,springning/tools,cw2018/tools,4ad/tools,golang/tools,golang/tools,josharian/tools,cmars/tools,cmars/tools,matryer/tools