Process staging prefix even if root prefix is not set.

In the case of QNX, the sysroot does not need to be set.
Merge topic 'cross-compiling-toolchain-variables' into next

875b87f Process staging prefix even if root prefix is not set.