QmlProfiler: Don't try to connect to port 0

Change-Id: I954fadbbe8bf7f2963b94ba45dd47b6846dab1df
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>