testport -n: Don't set PREFIX if it matches LOCALBASE, only set if using /prefix

This fixes incorrectly missing that some ports need bsd.port.pre.mk
to get the value of PREFIX. Being defined in make.conf or environment
hides these issues, such as with ports/182453