obof: switch-to-buffer: use correct calls for switch-to-buffer-other-window/frame

Addresses issue with error messages while changing buffers.
Reported by Bob Berwick.