cmd/gc: allow inlined struct == to mention unsafe.Pointer even in safe mode

Fixes issue 5578.

R=ken2
CC=golang-dev
https://codereview.appspot.com/13417044