unfunction precmd and preexec when they exist