Refactor: libs: Move cib__element_in_patchset to libcrmcommon.
It doesn't do anything CIB specific, aside from the fact that the XML it
manipulates is CIB patches. Additionally, rename it to
pcmk__cib_element_in_patchset and update the callers.
Related T865