Debugger: Handle remote setup failure in remote state transitions

Change-Id: I72886a309f1531c652186d529111d90ff3f98c37
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>