cmd/gc: fix uintptr(nil) issues.

A constant node of type uintptr with a nil literal could
happen in two cases: []int(nil)[1:] and
uintptr(unsafe.Pointer(nil)).

Fixes issue 4614.

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