Implement GiST support for base36.

That allows using an exclusion contraint over e.g. both a base36 id and
a tstzrange, and again we piggyback on the existing implementation. This
time we pick from btree_gist, as gist support for integers isn't in core.