CDB: Fix warning about mixing bool and bitwise logic

Change-Id: Iaf69fd16fa9ba0a5c63b6636d183836accdfd005
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
AndroidDeployQtStep: Run in separate thread

Fixes the inconsistent state from
Task-number: QTCREATORBUG-10710

Change-Id: Ifabb1eef4b81e6d33244fd7af8becc453dd66669
Reviewed-by: Daniel Teske <daniel.teske@digia.com>