Backport set-temporary-overlay-map to emacs <24.3

Fixes #88