pctrie: reduce code duplication in PCTRIE_REMOVE_*
There's a little bit of code that appears in each PCTRIE_REMOVE
function in pctrie.h. Make a new function for it, and invoke it from
those PCTRIE_REMOVE functions.
Reviewed by: bnovkov
Differential Revision: https://reviews.freebsd.org/D47320