Fix using non-SDL memset + strdup,
Reset the candidate list when textinput is disabled
Fix some pointers being declared in an inconsistent style
Remove some unused defines that were left over in SDL_config.h.in
Only call IBus functions in Start / StopTextInput if it was enabled