qdevice: Fix connect heuristics result callback
Previous patch b676b060613edc640021fb1f1dfdfd9305059069 was wrong
because it fixed the crash but made qdevice not work at all.
Correct solution is to test, if state is
QDEVICE_NET_INSTANCE_STATE_WAITING_INIT_REPLY.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
(cherry picked from corosync-qdevice project commit
6bf5f6c011cca5ec25c23b0f2b4adfc605eaa65d)