Fix crash due to libvirt not handling 0 prompts

SSH server calls the KI callback with the password prompt and then once
again with no prompt at all. Libvirt was badly handling that case and
provided bad pointers to jna to read.