Fixing re-init of API.

In IPython, GetCSBI is already initialized by readline. Overwriting the
pointer causes readline to crash and burn. Only setting the pointer if
it hasn't already been set.