gle: fix hashmap namespace collision

Closes #28293.

Patch from macports: https://trac.macports.org/ticket/41760