QmlDesigner: Check if process is available

It can be happen that we get output before the process is assigned.

Change-Id: I4419b125fc9e7244142c188c8bdf0a030faf850a
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>