Add xbps_remove_{pkgname,string}_from_array() to the API.
Remove pkg self replacement from pkgdb; this must not be propagated.