[connman] do not start wifi scan if network is associating

If wifi happens to be NULL, we will never reach this line. We will crash one line before trying to dereference it. Either the check for wifi should be removed or it should be dereferenced after the check.