Could you please point out where does pcase.el uses 'map' in its
source? The error message you quote doesn't reference pcase.el, only
org-bookmark-heading.el, which is not part of Emacs and is not on
ELPA, AFAICT.
So I wonder where's the place in the core Emacs sources
which causes the problem, and I couldn't find it. I'm probably
missing something.