ob-shell: compatibility fix for "Marker does not point anywhere" errors in Emacs 23