Generalize the deleted PREFIX exemption where it does not equal LOCALBASE

This is for ports that redefine PREFIX, such as misc/kdehier4 and mail/qmail
that may properly remove PREFIX on deinstall