Fix initialization of a text input manager pointer

Change-Id: I0a7494ea44c8b3179a9daf10efa6e00fa21fa491
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>