QNX: Fix crash when setting host mode

Change-Id: I772375768b2d7d0fd766798bb3c5bd767f66abab
Reviewed-by: Alex <alexander.blasche@digia.com>