Unify the absolutely equal xref-backend-references implementations