Fix segfault in readline_clear_history

One test remaining.