cmd/compile: skip looking for OCLOSURE nodes in xtop
cmd/compile: skip looking for OCLOSURE nodes in xtop

xtop holds package's top-level declaration statements, but OCLOSURE
only appears in expression contexts. xtop will instead hold the
synthetic ODCLFUNC representing OCLOSURE's function body.

This CL makes the loop consistent with the later phases that only look
for ODCLFUNC nodes in xtop.

Passes toolstash-check.

Change-Id: I852a10ef1bf75bb3351e3da0357ca8b2e26aec6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/255340
Trust: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>
Run-TryBot: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>
Reviewed-by: Cuong Manh Le <54b4457f1dff6823379654eb5867596497ba782f@gmail.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

CAFxX/go,cloudflare/go,golang/go,cloudflare/go,CAFxX/go,cloudflare/go,nawawi/go,nawawi/go,nawawi/go,CAFxX/go,nawawi/go,CAFxX/go,cloudflare/go,golang/go,golang/go,golang/go,CAFxX/go,golang/go,cloudflare/go,golang/go,cloudflare/go,cloudflare/go,nawawi/go,nawawi/go,CAFxX/go,nawawi/go,golang/go,nawawi/go,cloudflare/go,CAFxX/go,golang/go,CAFxX/go